package entity;

import utils.DBField;

/**
 * @author lvtian
 * @date 2022/12/20 14:54
 */
public class Emp {
    private int id;
    @DBField(fieldName = "e_name")
    private String name;
    @DBField(fieldName = "e_age")
    private int age;
    @DBField(fieldName = "e_gender")
    private String gender;

    public Emp(int id, String name, int age, String gender) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.gender = gender;
    }

    public Emp() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }
}
